<div class="main fly-user-main layui-clear">
    <include file="Common:sidebar" />
    <div class="site-tree-mobile layui-hide">
        <i class="layui-icon">
            
        </i>
    </div>
    <div class="site-mobile-shade"></div>
    <div id="LAY_uc" lay-filter="user" class="layui-tab layui-tab-brief">
    <?php if ($act_email == 0) { ?>
        <div class="fly-msg">
            您的邮箱尚未验证，这比较影响您的帐号安全，
            <a href="/user/activate/">
                立即去激活？
            </a>
        </div>
    <?php } ?>
        <ul id="LAY_mine" class="layui-tab-title">
            <li class="layui-this" hash="index" data-type="mine-jie">
                我发的帖（
                <span>
                    0
                </span>
                ）
            </li>
            <li hash="collection" data-url="/collection/find/" data-type="collection"
            class="">
                我收藏的帖（
                <span>
                    {:count($collection)}
                </span>
                ）
            </li>
        </ul>
        <div style="padding: 20px 0;" id="LAY_ucm" class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <ul class="mine-view jie-row">
                    <div class="fly-msg">
                        没有相关数据
                    </div>
                </ul>
                <div id="LAY_page">
                </div>
            </div>
            <div class="layui-tab-item">
                <ul class="mine-view jie-row">
                <?php foreach ($collection as $value) { ?>
                    <li>
                        <a target="_blank" href="{:U('home/question/qpage',array('qid'=>$value['qid']))}" class="jie-title">
                            {$value['title']}
                        </a>
                        <i>
                            收藏于{:timeFormat($value['time'])}
                        </i>
                    </li>
                <?php } ?>
                </ul>
                <div id="LAY_page1">
                </div>
            </div>
        </div>
    </div>
</div>